{% extends 'admin/admin.html' %}

{% block content %}
    <div class="admin">
      {% for entry in entry_list %}
      <h3>{{ entry.title }}</h3>
      <p>{{ entry.body|truncatewords:20 }}</p>
      <a href="/admin/entry/edit/{{ entry.id }}">edit</a> |
      <a href="/admin/entry/delete/{{ entry.id }}">delete</a>
      <br/><br/>
      {% endfor %}
    </div>
{% endblock content %}